package com.tianya.forum.service;

import com.tianya.forum.model.ArticleReply;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface IArticleReplyService {


    /**
     * 帖子回复
     * @param articleReply 回复信息
     */
    @Transactional
    void creat(ArticleReply articleReply);

    /**
     * 查询帖⼦对应的回复
     * @param articleId 帖⼦Id
     * @return 帖子回复
     */
    List<ArticleReply> selectByArticleId(Long articleId);
}